package com.zhdl.hardware_modules.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 设备类型
 * 0 汇川电机 1 步科电机 2 smartLink IO 3 borunte 机器人
 */
@Data
@Entity
@Table(name = "device_type")
public class DeviceType {

    /**
     * 类型Id
     */
    @Id
    @Column(name = "type_id")
    private int typeId;

    /**
     * 类型名称
     */
    @Column(name = "type_name")
    private String typeName;

}
